package com.wing.bill.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wing.bill.model.entity.BillOrdRepairInformationDetail;
import com.wing.bill.model.request.BillOrdRepairInformationDetailForm;
import com.wing.bill.model.response.BillOrdRepairInformationDetailVO;

import java.util.List;
import java.util.Map;

/**
 * 修磨账单列表--每个账单包含的修磨订单-Service
 *
 * @author
 */
public interface BillOrdRepairInformationDetailService extends IService<BillOrdRepairInformationDetail> {

    /**
     * 添加
     *
     * @param billOrdRepairInformationDetailForm
     * @return
     */
    int add(BillOrdRepairInformationDetailForm billOrdRepairInformationDetailForm);

    /**
     * 列表-app
     *
     * @param params
     *
     * @return
     */
    List<BillOrdRepairInformationDetailVO> list4app(Map<String, Object> params);

    /**
     * 分页list-app
     *
     * @param page
     * @param params
     *
     * @return
     */
    Page<BillOrdRepairInformationDetailVO> pageList4app(Page page, Map<String, Object> params);

    /**
     * 详情-app
     *
     * @param id
     *
     * @return
     */
    BillOrdRepairInformationDetailVO get4appById(Long id);
}
